//
//  NSString+Helper.h
//  ARErp
//
//  Created by ZRAR on 14/11/6.
//  Copyright (c) 2014年 ZRAR. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Helper)

- (NSString *)trimString;

- (BOOL)isPureNumandCharacters;

#pragma mark 判断字符串为空，如果为nil就不执行，所以用类方法
+ (BOOL)isBlankString:(NSString *)string;

#pragma mark Email判断
- (BOOL)isValidateEmail;

#pragma mark 手机号码验证
- (BOOL) isValidateMobile;

#pragma mark 密码验证
- (BOOL) isValidatePassword;

#pragma mark 身份证号验证
- (BOOL) isValidateIdentityCard;
+ (BOOL)checkIdentityCardNo:(NSString*)cardNo;

- (NSString *)setBankCardNumberToStart;

+ (NSString *)stringWithDouble:(double)doubleNumber;

@end
